package o;

import android.view.View;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import java.lang.ref.WeakReference;

public class l extends SkinAttr {

    static final class b extends fkz<SkinAttr, Integer> {
        private WeakReference<FloatingActionButton> ˎ;

        public /* synthetic */ void ॱ(Object obj) {
            ˋ((Integer) obj);
        }

        private b(FloatingActionButton floatingActionButton) {
            this.ˎ = new WeakReference(floatingActionButton);
        }

        public void ˋ(Integer num) {
            FloatingActionButton floatingActionButton = (FloatingActionButton) this.ˎ.get();
            if (floatingActionButton != null) {
                floatingActionButton.setRippleColor(num.intValue());
            }
        }
    }

    public l() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof FloatingActionButton) {
            FloatingActionButton floatingActionButton = (FloatingActionButton) view;
            if ("color".equals(this.attrValueTypeName)) {
                this.ʽ = "color";
                fks.ˎ(view.getContext(), this, new b(floatingActionButton)).ॱ(z);
            }
        }
    }
}
